

package com.kimo.shop.user.comment.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kimo.shop.common.util.PageParam;
import com.kimo.shop.user.comment.dao.UserBalanceLogMapper;
import com.kimo.shop.user.comment.dto.UserBalanceLogDto;
import com.kimo.shop.user.comment.model.UserBalanceLog;
import com.kimo.shop.user.comment.service.UserBalanceLogService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 余额充值记录
 *
 * @author kimo-taozhouchuan
 * @date 2020-09-09 17:38:30
 */
@Service
@AllArgsConstructor
public class UserBalanceLogServiceImpl extends ServiceImpl<UserBalanceLogMapper, UserBalanceLog> implements UserBalanceLogService {

    private final UserBalanceLogMapper userBalanceLogMapper;

    @Override
    public PageParam<UserBalanceLogDto> getLogPage(PageParam<UserBalanceLogDto> page, String userId) {
        return userBalanceLogMapper.getLogPage(page, userId);
    }
}
